{template Public:Page:header}
<div class="container">
  <div class="row">
  
    {template Member:Index:sidebar}
    
    <div class="col-lg-10 well-col-pl-30">
      <div class="row">
            <div class="well">

              <h3>雇主中心</h3>
                <div class="row">
                     <div class="col-lg-8">
						<div class="row">
                        <div class="col-lg-12 col-sm-6 col-xs-12">
                                    <div class="databox databox-xlg databox-halved radius-bordered databox-shadowed databox-vertical">
                                        <div class="databox-top bg-white padding-10">
                                            <div class="col-lg-4 col-sm-4 col-xs-4">
                                           	 {echo GetAvatarSimple($member['uid'],48,'image-circular bordered-3 bordered-palegreen')}
                                            </div>
                                            <div class="col-lg-8 col-sm-8 col-xs-8 text-align-left padding-10">
                                                <span class="databox-header carbon no-margin">{echo $member['username']}</span>
                                                <span class="databox-text lightcarbon no-margin"> <i class="fa fa-map-marker"></i>{echo $member['provname']} {echo $member['cityname']} {echo $member['distname']} </span>
                                            </div>
                                        </div>
                                        <div class="databox-bottom bg-white no-padding">
                                            <div class="databox-row row-12">
                                                <div class="databox-row row-6 no-padding">
                                                 
                                                    <div class="databox-cell cell-3 no-padding text-align-center bordered-right bordered-platinum">
                                                        <span class="databox-text sonic-silver  no-margin" style="font-size:12px;">待托管</span>
                                                        <span class="databox-number lightcarbon no-margin"><a href="/buyer/task/index?process_order=0&search=1">{echo $notpaytask}</a></span>
                                                    </div>
                                                    <div class="databox-cell cell-3 no-padding text-align-center bordered-right bordered-platinum">
                                                        <span class="databox-text sonic-silver no-margin" style="font-size:12px;">进行中</span>
                                                        <span class="databox-number lightcarbon no-margin"><a href="/buyer/task/index?process_order=1&search=1">{echo $normaltask}</a></span>
                                                    </div>
                                                     <div class="databox-cell cell-3 no-padding text-align-center bordered-right bordered-platinum">
                                                        <span class="databox-text sonic-silver no-margin" style="font-size:12px;">待确认付款</span>
                                                        <span class="databox-number lightcarbon no-margin"><a href="/buyer/task/index?process_order=4&search=1">{echo $okpaytask}</a></span>
                                                    </div>
                                                    
                                                    <div class="databox-cell cell-3 no-padding text-align-center">
                                                        <span class="databox-text sonic-silver no-margin" style="font-size:12px;">待评价</span>
                                                        <span class="databox-number lightcarbon no-margin"><a href="/buyer/task/index?process_order=5&search=1">{echo $evaluatetask}</a></span>
                                                    </div>
                                                </div>
                                  
                                                <div class="databox-row row-6 padding-10">
                                                                <a class="btn btn-palegreen btn-sm pull-right" href="/buyer/task">更多订单</a>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                         </div>
                                
                    </div>
               		 <div class="col-lg-4">
             
                     		<div class="databox databox-lg databox-halved radius-bordered databox-shadowed databox-vertical" style="height:200px;">
                                    <div class="databox-top btn-primary no-padding">
                                        <div style="padding-top:18px;font-size:20px;">
                                            <span style="color:#FFF">余额 ￥{echo number_format($member['money']/100,2)}</span>
                                        </div>
                                    </div>
                                    <div class="databox-bottom bg-white no-padding">
                                        <div class="databox-row text-align-center">
                                              <div class="databox-cell cell-6 no-padding text-align-center bordered-right bordered-platinum">
                                                        <span class="databox-text sonic-silver no-margin" style="padding-top:10px;font-size:12px;">收入</span>
                                                        <span class="databox-number lightcarbon no-margin">￥{echo number_format($member['moneyin']/100,2)}</span>
                                            </div>
                                            <div class="databox-cell cell-6 no-padding text-align-center">
                                                    <span class="databox-text sonic-silver no-margin" style="padding-top:10px;font-size:12px;">支出</span>
                                                    <span class="databox-number lightcarbon no-margin">￥{echo number_format($member['moneyout']/100,2)}</span>
                                             </div>
                                        </div>
                                        
                                       <div class="databox-row text-align-center">
                                              <div class="databox-cell cell-6 no-padding text-align-center bordered-right bordered-platinum">
                                                      
                                                        <span class="databox-number lightcarbon no-margin" style="padding-top:20px;"><a class="btn btn-primary" href="/member/payin">充值</a></span>
                                            </div>
                                            <div class="databox-cell cell-6 no-padding text-align-center">
                                                   
                                                    <span class="databox-number lightcarbon no-margin" style="padding-top:20px;"><a class="btn btn-primary" href="/member/payout">提现</a></span>
                                             </div>
                                        </div>
                                        
                                        
                                        
                                    </div>
                            
                                    
                                </div>
                	</div>
              </div>
              
              
        
          
       
            <div class="row">
            		 <div class="col-lg-12">
                     <h4>待确认付款订单</h4>
                     <table class="table table-striped table-bordered table-hover">
                        <thead>
                            <tr>
                                <th>
                                     ID
                                </th>
                                <th>
                                     任务标题
                                </th>
                                 <th>
                                  金额
                                </th>
                                 <th>
                                   投稿量
                                </th>
                                <th>
                                    发布时间
                                </th>
                                <th>
                                   结束时间
                                </th>
        
                                 <th>
                                 状态
                                </th>
                                <th>
                                操作
                                </th>
                            </tr>
                        </thead>
                        <tbody>
                        
                            {if !empty($list)}
                                {foreach $list $value}
                                    <tr>
                                        <td>
                                            {echo $value['id']}
                                        </td>
                                   
                                        <td>
                                           <a href="/task/{echo $value['id']}" target="_blank">{echo $value['subject']}</a>
                                        </td>
                                        <td>
                                           <span class="color_f60">￥{echo $value['money']/100}</span>
                                        </td>
                                        <td>
                                           {echo $value['draft_number']}
                                        </td>
                                        <td>
                                           {echo FormatDate("Y/m/d",$value['dateline'])}
                                        </td>
                                        <td>
                                            {echo FormatDate("Y/m/d",$value['endtime'])}
                                        </td>
                                        <td>
                                            {echo $value['process_order_name']}
                                        </td>
                                        <td>
                                        
                                        {if $value['process']<2}<a href="/task/publish/index/id/{echo $value['id']}" target="_blank" class="btn btn-default btn-xs">编辑</a>{elseif $value['process']>3}<a href="/task/{echo $value['id']}" target="_blank" class="btn btn-default btn-xs">管理</a>{/if}
                                        </td>
                                    </tr>
                                {/foreach}
                            {/if}
                            
                        </tbody>
                    </table>
              

            </div>
            </div>
         
			<br />
         
                 <div class="panel panel-default">
         
              <div class="panel-heading"> <i class="glyphicon glyphicon-phone"></i> <strong>手机绑定</strong></div>
              <div class="panel-body">
                 <div class="col-lg-10">
                <p>直接使用“手机号码”登录本站，并收到中标、支付等重要提醒。</p>
                <p>{if $ismobile}{echo str_replace(substr($member['mobile'],3,6),'******',$member['mobile'])}{/if}</p>
                </div>
                  <div class="col-lg-2">
                {if !$ismobile}<a class="btn btn-primary" href="/member/mobile"><i></i>马上绑定</a>{/if}
              </div>
                
              </div>
         
              
         
            </div>
            
            
            <div class="panel panel-default">
         
              <div class="panel-heading"> <i class="glyphicon glyphicon-envelope"></i> <strong>邮箱绑定</strong></div>
              <div class="panel-body">
                 <div class="col-lg-10">
                     <p>直接使用“邮箱”登录本站，并收到中标、支付等重要提醒。</p>
                        <p>{if $isemail}已绑定邮箱：{else}未绑定邮箱：{/if}***{echo substr($member['email'],3)}</p>
                   </div>
                   <div class="col-lg-2">
                       {if !$isemail}<a class="btn btn-primary" href="/member/email"><i></i>马上绑定</a>{else}<a class="btn btn-primary" href="/member/email"><i></i>修改邮箱</a>{/if}
                   </div>
              </div>
        
         
            </div>
    
            </div>
    </div>
  </div>
</div>
</div>

{template Public:Page:footer}